
<!--  id,ddid,name,sex,mobile,address,menu,ordertime,price,userpay,platpay,bosspay,income,status,invoice,shipping,memo -->
<p>{$page}</p>
<table border="1" cellspacing="0" cellpadding="0"  class="altrowstable" id="alternatecolor">
<tr >
 <td>序号 </td><td>订单号</td><td width="20">姓名</td><td>手机号</td><td width="150">地址</td><td width="300">菜单(菜品 单价 数量 金额)</td>
 <td>下单时间</td><td>价格</td><td>用户支付</td><td>平台补贴</td><td>商家补贴</td><td>运费</td><td>实际收入</td><td>状态</td><td width="150">发票</td><td width="150">备注</td> 
</tr>
<volist name="list" id="arr"  k='i'>
<tr >
 <td>{$i} </td>
 <td>{$arr.ddid}</td>
 <td>{$arr.name}  <if condition="$arr[sex] eq 0">女士<else/>先生</if></td>
 <td><a href="{:U('order/mobile/',array('mobile'=>$arr[mobile]))}">{$arr.mobile}</a></td>
  <td><a href="{:U('order/dis/',array('dis'=>$arr[address]))}"> {$arr.address}</a></td> 
  <td> {$arr.menu}</td> 
  <td> {$arr.ordertime}</td>
  <td> {$arr.price}</td>
  <td> {$arr.userpay}</td>  
  <td> {$arr.platpay}</td>
  <td> {$arr.bosspay}</td>
  <td> {$arr.shipping}</td>
  <td> {$arr.income}</td>
  <td>  <if condition="$arr[status] eq 1"> 已完成<else/>未完成</if></td>
 <td> {$arr.invoice}</td>
 <td> {$arr.memo}</td>

</tr>
</volist>
</table>